package cn.yd.rb.service;

import cn.yd.rb.exception.CustomException;
import cn.yd.rb.po.User;

import java.util.List;

public interface UserService {
    void regist(User user);
    User findUserByLogin(User user) throws Exception;

    List<User> findAllUsers();

    User findUserByForget1(User user) throws Exception;
    User findUserByForget2(User user) throws Exception;

    void findUserByForget3(User user);

    Integer findUserCounts();
    User findUserByAjax(String username) throws CustomException, Exception;

    User findUserByBevip(User user);
}
